home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / demos / lmitool / testnorminf < prev    next >
Text File  |  1999-09-16  |  191b  |  11 lines

  1. getf(SCI+'/demos/lmitool/norminf.sci','c')
  2. n=4;nu=2;ny=2;
  3. E=eye(n,n);
  4. rand('seed',0)
  5. A=rand(n,n)-3*eye;
  6. B=rand(n,nu);
  7. C=rand(ny,n);
  8. D=0*rand(nu,ny);
  9. gama=10;
  10. [X,cost]=norminf(E,A,B,C,D,gama)
  11.